package com.data.modules.online.cgform.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.data.modules.online.cgform.entity.OnlCgformButton;
import com.data.modules.online.cgform.mapper.OnlCgformButtonMapper;
import com.data.modules.online.cgform.service.IOnlCgformButtonService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class OnlCgformButtonServiceImpl extends ServiceImpl<OnlCgformButtonMapper, OnlCgformButton> implements IOnlCgformButtonService {
    private static /* synthetic */ java.lang.Object m146a(java.lang.invoke.SerializedLambda r4) {
        /*
        // Method dump skipped, instructions count: 204
        */
        throw new UnsupportedOperationException("Method not decompiled: com.data.modules.online.cgform.service.p013a.OnlCgformButtonServiceImpl.m146a(java.lang.invoke.SerializedLambda):java.lang.Object");
    }

@Override
public void saveButton(OnlCgformButton r4) {
        /*
            r3 = this;
            com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper r0 = new com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
            void r1 = r0.<init>()
            java.lang.String r2 = r4.getButtonCode()
            java.lang.Object r0 = r0.eq(r1, r2)
            com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper r0 = (com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper) r0
            r1 = move-result
            java.lang.String r2 = r4.getCgformHeadId()
            java.lang.Object r0 = r0.eq(r1, r2)
            com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper r0 = (com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper) r0
            com.baomidou.mybatisplus.core.mapper.BaseMapper r1 = r3.baseMapper
            org.jeecg.modules.online.cgform.mapper.OnlCgformButtonMapper r1 = (org.jeecg.modules.online.cgform.mapper.OnlCgformButtonMapper) r1
            java.lang.Integer r0 = r1.selectCount(r0)
            if (r0 == 0) goto L_0x0031
            int r0 = r0.intValue()
            if (r0 != 0) goto L_0x0034
        L_0x0031:
            r3.save(r4)
        L_0x0034:
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.data.modules.online.cgform.service.p013a.OnlCgformButtonServiceImpl.saveButton(org.jeecg.modules.online.cgform.entity.OnlCgformButton):void");
    }
}
